<template>
	<el-dialog v-model="props.isShow" width="28%" @close="handleClose" class="transaction-spot-dialog-dark">
		<template #default>
			<div class="flex items-start mb-10px">
				<div class="ml-10px">
					<img src="/transaction/c2c/orderSell/right.svg" class="w-24px h-24px">
				</div>
				<slot></slot>
			</div>
		</template>
		
	</el-dialog>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
interface IProps {
	isShow: boolean;
}

const props = defineProps<IProps>();
const emit = defineEmits(['close'])

const handleClose = () => {
	emit('close',false);
}
</script>
<style lang="scss">
	.transaction-spot-dialog-dark{
		background:#2B2B2B;
	}
</style>
